home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmWidgetGetBaselines.z / XmWidgetGetBaselines
Encoding:
Text File  |  2003-11-18  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmWWWWiiiiddddggggeeeettttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeeessss((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmWWWWiiiiddddggggeeeettttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeeessss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_W_i_d_g_e_t_G_e_t_B_a_s_e_l_i_n_e_s - Retrieves baseline information    for a
  10.       widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Boolean XmWidgetGetBaselines (wwwwiiiiddddggggeeeetttt,,,,    bbbbaaaasssseeeelllliiiinnnneeeessss,,,, lllliiiinnnneeee____ccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t       wwwwiiiiddddggggeeeetttt;
  17.            _D_i_m_e_n_s_i_o_n   **bbbbaaaasssseeeelllliiiinnnneeeessss;
  18.            _i_n_t       *lllliiiinnnneeee____ccccoooouuuunnnntttt;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_W_i_d_g_e_t_G_e_t_B_a_s_e_l_i_n_e_s returns an array    that contains one or
  22.       more baseline    values associated with the specified widget.
  23.       The baseline of any given line of text is a vertical offset
  24.       in pixels from the origin of the widget's bounding box to
  25.       the given baseline.  This routine allocates memory for the
  26.       returned data.  The application must free this memory    using
  27.       _X_t_F_r_e_e.
  28.  
  29.       wwwwiiiiddddggggeeeetttt
  30.            Specifies the ID    of the widget for which    baseline
  31.            values are requested
  32.  
  33.       bbbbaaaasssseeeelllliiiinnnneeeessss
  34.            Returns an array    that contains the value    of each
  35.            baseline    of text    in the widget
  36.  
  37.       lllliiiinnnneeee____ccccoooouuuunnnntttt
  38.            Returns the number of lines in the widget
  39.  
  40.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  41.       Returns a Boolean value that indicates whether the widget
  42.       contains a baseline.    If True, the function returns a    value
  43.       for each baseline of text.  If False,    the function was
  44.       unable to return a baseline value.
  45.  
  46.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  47.       _X_m_W_i_d_g_e_t_G_e_t_D_i_s_p_l_a_y_R_e_c_t(_3_X).
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.